home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / iachar.z / iachar
Encoding:
Text File  |  2002-10-03  |  1.7 KB  |  43 lines

  1. IACHAR(3I)                                            Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      IIAACCHHAARR - Returns the position of a character in the ASCII collating
  6.      sequence
  7.  
  8. SSYYNNOOPPSSIISS
  9.      IIAACCHHAARR (([CC==]_c))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, IRIX systems
  13.  
  14.      CF90, MIPSpro 7 Fortran 90
  15.  
  16. SSTTAANNDDAARRDDSS
  17.      Fortran
  18.  
  19. DDEESSCCRRIIPPTTIIOONN
  20.      The IIAACCHHAARR intrinsic function returns the position of a character in
  21.      the ASCII collating sequence.  It accepts the following argument:
  22.  
  23.      _c         Must be of type character and of length 1.
  24.  
  25.      IIAACCHHAARR is an elemental function.  The name of this intrinsic cannot be
  26.      passed as an argument.
  27.  
  28. RREETTUURRNN VVAALLUUEESS
  29.      The result type is a default integer value.  If _c is in the collating
  30.      sequence defined by the codes specified in ISO 646:1983 (International
  31.      Reference Version), the result is the position of _c in that sequence
  32.      and satisfies the inequality (0 <= IIAACCHHAARR (_c) <= 127).  The results
  33.      are consistent with the LLGGEE, LLGGTT, LLLLEE, and LLLLTT lexical comparison
  34.      functions.  For example, if LLLLEE((CC,,DD)) is true, IIAACCHHAARR((CC))..LLEE..IIAACCHHAARR((DD))
  35.      is true when CC and DD are any two ASCII characters.
  36.  
  37. EEXXAAMMPPLLEESS
  38.      IIAACCHHAARR((''XX'')) has the value 88.
  39.  
  40. SSEEEE AALLSSOO
  41.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  42.      man page.
  43.